package com.ruoyi.cash.domain.persistantobject.promotion;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品营销表
 * </p>
 *
 * @author lzq
 * @since 2024-12-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("cash_promotion_product")
public class PromotionProductPO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 规则编号，唯一标识
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 业务单元编号
     */
    private Integer segNo;

    /**
     * 店铺ID 
     */
    private Long shopId;

    /**
     * 规则类型
     */
    private Long productId;

    /**
     * 营销策略ID
     */
    private Integer promotionId;

    private LocalDateTime createDate;

    private LocalDateTime updateDate;

    /**
     * 是否删除
     */
    private String isDelete;


}
